package cn.kgc.client;

import cn.kgc.base.vo.OrderVo;
import cn.kgc.commons.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <p>添加描述信息</p>
 *
 * @author 卢传琪
 */
@FeignClient(value = "mall-oms",path = "/order",fallback = OmsOrderFeignClientImpl.class)
public interface OmsOrderFeignClient {
    @GetMapping("/getOrderVo")
    Result<OrderVo> getOrderInfoByOrderSn(@RequestParam(name = "orderSn") String orderSn);
}
